Changing mail storage and log settings
You can change the default settings for how the Mail Server stores
mail and tracks mail events.
This section tells you how to
|
Setting the minimum amount of free disk space |
|
|
You can change the amount of free disk space at which the Mail
Server stops accepting mail. By default, the Mail Server stops
accepting mail when the amount of free disk space reaches 2048K
(2 MB).
|
To change the minimum amount of free disk space, follow these
steps: |
1 |
Open the Mail Admin program, if it's not already open. |
2 |
Choose Mail Server Settings from the Server menu. |
|
The Mail Server Settings window appears, and shows the General
mail settings. |
3 |
Type a new number in the "Preferred free disk" space box. |
|
 |
|
The number you type is the amount of free disk space at which
the Mail Server will stop accepting incoming mail. Mail received
after the limit is reached is rejected. |
4 |
Click Save. |
|
Your changes won't take effect until the next time you stop and
start the Mail Server. You should do this when you're sure no
one is using the Mail server. For instructions, see Starting and stopping the Mail Server. |
|
Setting the mail storage volume |
|
|
You can change the volume on which the Mail Server stores mail.
By default, the Mail Server stores mail in a file named AppleShare
IP Mail Database in the AppleShare IP Mail Folder at the root
level of the startup disk.
Note: To prevent unauthorized access to the AppleShare IP Mail Database
file, the Mail Server regularly resets the access privileges of
the AppleShare IP Mail Folder to None for the User/Group and Everyone
categories.
|
To change the mail storage volume, follow these steps: |
1 |
Open the Mail Admin program, if it's not already open. |
2 |
Choose Mail Server Settings from the Server menu. |
|
The Mail Server Settings window appears, and shows the General
mail settings. |
3 |
Click the select volume button on the left side of the Mail Storage
Volume section. |
|
 |
|
A window opens and asks you to select a volume. |
5 |
Choose a volume on which to store incoming and outgoing mail messages. |
6 |
Click OK. |
|
The name of the selected volume appears next to Volume Name in
the Mail Storage Volume section of the General Server Settings
window. |
7 |
Click Save. |
8 |
Drag the AppleShare IP Mail Folder from the AppleShare IP Mail
Folder at the root level of the startup disk (including the mail
database it contains) to the new volume. |
9
|
When you're sure no one is using the Mail Server, restart the
Mail Server. For instructions, see Starting and stopping the Mail Server. |
|
The Mail Server restarts. |
10 |
Check the Mail Server log to verify that the Mail Server is now
storing mail on the selected volume. For instructions, see Viewing the mail logs. |
|
Setting maximum log file sizes |
|
|
The Mail Server maintains two logs:
• |
The Server log contains information about normal operations, such
as when the Mail Server started and stopped. |
• |
The Error log contains information about error conditions, such
as failure to deliver mail because mail is not enabled for a user. |
You can change the maximum size to which these logs can grow before
the Mail Server starts to remove the oldest entries so that it
can add new entries.
|
To change the mail server maximum log sizes, follow these steps: |
1 |
Open the Mail Admin program, if it's not already open. |
2 |
Choose Mail Server Settings from the Server menu. |
|
The Mail Server Settings window appears, and shows the General
mail settings. |
3 |
To change the current maximum size of either log, select the number
in the Log Files section and type a different number. |
|
 |
|
The minimum size of each log is 64K. The text box displays the
current maximum size of the log. (The maximum size is the largest
size to which the log can grow before the Mail Server begins removing
the oldest entries so that it can add new entries.) |
|
Specifying a smaller number means that old entries will be removed
quickly, and specifying a larger number means that old entries
will remain in the log for a longer period of time. |
|
Note: If you increase the mail log size, you should also increase the
memory partition for the Mail Admin program. Make sure the Mail
Admin program is not open, then select the Mail Admin program
icon in the Finder, choose Get Info, and increase the Minimum
Size by the amount you increase the mail log. |
5 |
Click Save. |
|
Your changes won't take effect until the next time you stop and
start the Mail Server. You should do this when you're sure no
one is using the Mail server. For instructions, see Starting and stopping the Mail Server. |
|
For instructions on viewing the Log files, see Viewing the mail logs. |
|
Setting log file tracking |
|
|
The Mail Server maintains two logs:
• |
The Server log contains information about normal operations, such
as when the Mail Server started and stopped. |
• |
The Error log contains information about error conditions, such
as failure to deliver mail because mail is not enabled for a user. |
By default, all relevant events are tracked in these logs. However,
you can change which events are tracked to suit your needs.
|
To change the events that are tracked in the Mail Server's logs,
follow these steps: |
1 |
Open the Mail Admin program, if it's not already open. |
2 |
Choose Advanced Settings from the Server menu. |
|
The Advanced Mail Server Settings window appears. |
3 |
Click the Logs tab. |
|
The Mail Server's Logs settings appear. The log events are grouped
by protocols or functional areas. |
|
 |
4 |
Choose the log for which you'd like to set log events from the
Show pop-up menu on the right side of the Log panel. |
|
You can choose Server Log or Error Log. The chosen log's event
settings appear. |
5 |
Click the triangle to the left of each event category that you
want to edit, to see the items in that category that are entered
into the log. |
|
 |
|
By default, all items in each event category are tracked. |
6 |
Click the box next to each event item you do not want to track
so that the checkmark disappears. To stop tracking an event, click
the checkbox so that the checkmark appears. |
|
To record all possible events across all event categories, click
the All On button. To turn off all event tracking, click the All
Off button. |
7 |
Click Save. |
|
Your changes are saved and take effect immediately. |
|
Table of contents
|